package home_work4;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Random;

public class test7 {

	public static void main(String[] args) {
		List list=new ArrayList();
		Random r = new Random();
		for(int i=0;i<10;i++) {
			int ran=r.nextInt(100);
			list.add(ran);
		}
		Collections.sort(list);
		System.out.println(list);
            
		

	}

}
